package com.zkr.sparecost.model;

import com.zkr.util.PageVo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by lenovo on 2020/12/20.
 */
@Data

public class SpareSelectVo extends PageVo{

    private Integer userId;

    //法人编码
    private String legalPersonCode;
    private String legalPersonName;
    //工厂编码
    private String legalPlantCode;
    //备件编码
    private String materialCode;
    //含税类型
    private String taxType;
    private String taxDec;
    //价格分类编码
    private String priceType;
    private String priceTypeName;
    //币别编码
    private String currencyCode;
    private String currencyCodeName;
    //有效开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startStartTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startEndTime;
    //有效结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endStartTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endEndTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    //当前状态
    private Boolean enabled;
    private Boolean status;
    private String statusName;
    //价格分类
    private Double price;


}
